
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 '     C o m m a n d s   t o   T h e r e m i n o _ M o t o r s 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 '   E n a b l e C o n n e c t i o n 
 
 '   D i s a b l e C o n n e c t i o n 
 
 
 
 '   R e s e t A l l M u l t i t u r n V a l u e s 
 
 '   R e s e t A l l C a l i b r a t i o n V a l u e s 
 
 
 
 '   C a l i b r a t e   M o t o r   x   T o   n n . n 
 
 
 
 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 '     S L O T   T E X T   f o r   C O M M A N D S 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 V a r i a b l e   N u m e r i c   S l o t _ C o m m a n d s   =   5 0 
 
 V a r i a b l e   N u m e r i c   S l o t _ R e s p o n s e s   =   5 1 
 
 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 '     B U T T O N S 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 B u t t o n   1   L a b e l   E n a b l e C o n n e c t i o n 
 
 B u t t o n   2   L a b e l   D i s a b l e C o n n e c t i o n 
 
 
 
 B u t t o n   4   L a b e l   W r i t e F i r m w a r e 
 
 B u t t o n   5   L a b e l   S e n d R e s e t 
 
 
 
 B u t t o n   7     L a b e l   W r i t e S e r i a l N u m b e r T o M o t o r 
 
 B u t t o n   W r i t e S e r i a l N u m b e r T o M o t o r   T e x t   " W r i t e   S e r i a l   t o   M o t o r "   +   C R L F   + " a n d   I n c r e a s e   i t " 
 
 B u t t o n   8   L a b e l   S e t S e r i a l N u m b e r 
 
 B u t t o n   9   L a b e l   G e t S e r i a l N u m b e r 
 
 
 
 B u t t o n   1 7   L a b e l   S h o w W i n d o w 
 
 
 
 B u t t o n   1 9   L a b e l   R e s e t A l l M u l t i t u r n V a l u e s 
 
 B u t t o n   2 0   L a b e l   R e s e t A l l C a l i b r a t i o n V a l u e s 
 
 
 
 B u t t o n   2 2   L a b e l   " C a l i b r a t e   M o t o r   1   T o   0 " 
 
 B u t t o n   2 3   L a b e l   " C a l i b r a t e   M o t o r   1   T o   3 0 " 
 
 B u t t o n   2 4   L a b e l   " C a l i b r a t e   M o t o r   1   T o   6 0 " 
 
 B u t t o n   2 5   L a b e l   " C a l i b r a t e   M o t o r   1   T o   9 0 " 
 
 
 
 G o s u b   L o o p 
 
 S t o p 
 
 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 '     L O O P 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 L a b e l   L o o p 
 
 	 ' V a r i a b l e   S t r i n g   R e s p o n s e 
 
 	 ' R e s p o n s e   =   S l o t T e x t ( S l o t _ R e s p o n s e s ) 
 
 	 ' P r i n t   R e s p o n s e 
 
 	 W a i t   S e c o n d s   0 . 1 
 
 G o t o   L o o p 
 
 
 
 
 
 '   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 '     S E N D   C O M M A N D   ( d e f a u l t   t i m e o u t   =   0 . 5   S e c ) 
 
 '   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 L a b e l   S e n d C o m m a n d 
 
 	 V a r i a b l e   N u m e r i c   S C 1               ' < - -   P a r a m e t e r   D e s t i n a t . - S l o t 
 
 	 V a r i a b l e   S t r i n g     S C 2               ' < - -   P a r a m e t e r   C o m m a n d - S t r i n g 
 
 	 V a r i a b l e   N u m e r i c   S C 3   =   0 . 5   ' < - -   T h e   t i m e o u t   i n   s e c o n d s 
 
 	 V a r i a b l e   N u m e r i c   S C 4 
 
 	 S l o t T e x t   S C 1   =   S C 2 
 
 	 F o r   S C 4   =   0 . 1   T o   S C 3   S t e p   0 . 1 
 
 	 	 I f   S l o t T e x t ( S C 1 )   =   " " 
 
 	 	 	 E x i t 
 
 	 	 E n d I f 
 
 	 	 W a i t   S e c o n d s   0 . 1 
 
 	 N e x t 
 
 R e t u r n 
 
 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 '     C O M M A N D S 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 L a b e l   E n a b l e C o n n e c t i o n 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " E n a b l e C o n n e c t i o n " ) 
 
 R e t u r n 
 
 L a b e l   D i s a b l e C o n n e c t i o n 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " D i s a b l e C o n n e c t i o n " ) 
 
 R e t u r n 
 
 
 
 L a b e l   W r i t e F i r m w a r e 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " W r i t e F i r m w a r e " ) 
 
 R e t u r n 
 
 L a b e l   S e n d R e s e t 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " S e n d R e s e t " ) 
 
 R e t u r n 
 
 
 
 L a b e l   W r i t e S e r i a l N u m b e r T o M o t o r 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " W r i t e S e r i a l N u m b e r T o M o t o r " ) 
 
 R e t u r n 
 
 L a b e l   S e t S e r i a l N u m b e r 
 
 	 v 1   =   I n p u t ( " I n i t i a l   s e r i a l   n u m b e r   ? " ) 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " S e t S e r i a l N u m b e r   "   +   v 1 ) 
 
 R e t u r n 
 
 L a b e l   G e t S e r i a l N u m b e r 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " G e t S e r i a l N u m b e r " ) 
 
 	 P r i n t   S l o t T e x t ( S l o t _ R e s p o n s e s ) 
 
 R e t u r n 
 
 
 
 L a b e l   S h o w W i n d o w 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " M i n i m i z e " ) 
 
 R e t u r n 
 
 
 
 L a b e l   R e s e t A l l M u l t i t u r n V a l u e s 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " R e s e t A l l M u l t i t u r n V a l u e s " ) 
 
 R e t u r n 
 
 L a b e l   R e s e t A l l C a l i b r a t i o n V a l u e s 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " R e s e t A l l C a l i b r a t i o n V a l u e s " ) 
 
 R e t u r n 
 
 
 
 L a b e l   C a l i b r a t e   M o t o r   1   T o   0 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " C a l i b r a t e   M o t o r   1   T o   0 " ) 
 
 R e t u r n 
 
 L a b e l   C a l i b r a t e   M o t o r   1   T o   3 0 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " C a l i b r a t e   M o t o r   1   T o   3 0 " ) 
 
 R e t u r n 
 
 L a b e l   C a l i b r a t e   M o t o r   1   T o   6 0 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " C a l i b r a t e   M o t o r   1   T o   6 0 " ) 
 
 R e t u r n 
 
 L a b e l   C a l i b r a t e   M o t o r   1   T o   9 0 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " C a l i b r a t e   M o t o r   1   T o   9 0 " ) 
 
 R e t u r n 
 
 
 
 
 
 ' B O O K M A R K S   
 
 
 
 ' E D I T E D L I N E S   2 9   9   3 1   3   1 7   3   1 0 1   5   9 9   6   9 1   7   9 2   8   2 8   9   1 0 4   1 0   
 
 
 
 ' W A T C H   v 1 
 
 ' E X E C   D e s t X   =   1 2 
 
 